package rkdwogus7.exam;

public class BookVO {
	private int bNo;
	private String bName;
	private String publisher;
	private String author;
	private String genre;
	private int price;
	private boolean isRent;
	private String regDate;
	
	public BookVO() { }

	public BookVO(int bNo, String bName, String publisher, String author,
			String genre, int price, boolean isRent, String regDate) {
		super();
		this.bNo = bNo;
		this.bName = bName;
		this.publisher = publisher;
		this.author = author;
		this.genre = genre;
		this.price = price;
		this.isRent = isRent;
		this.regDate = regDate;
	}

	public int getbNo() {
		return bNo;
	}

	public void setbNo(int bNo) {
		this.bNo = bNo;
	}

	public String getbName() {
		return bName;
	}

	public void setbName(String bName) {
		this.bName = bName;
	}

	public String getPublisher() {
		return publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getGenre() {
		return genre;
	}

	public void setGenre(String genre) {
		this.genre = genre;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public boolean isRent() {
		return isRent;
	}

	public void setRent(boolean isRent) {
		this.isRent = isRent;
	}

	public String getRegDate() {
		return regDate;
	}

	public void setRegDate(String regDate) {
		this.regDate = regDate;
	}

	@Override
	public String toString() {
		return "BookVO [bNo=" + bNo + ", bName=" + bName + ", publisher="
				+ publisher + ", author=" + author + ", genre=" + genre
				+ ", price=" + price + ", isRent=" + isRent + ", regDate="
				+ regDate + "]";
	}
	
	
	

}
